package com.mkh.st.admin.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "数据权限保存对象明细")
public class UserRoleDataDetailDTO implements Serializable {

	@ApiModelProperty(value = "权限id集合")
//	private List<Integer> ids;
	private List<IdCheckDTO> ids;

	@ApiModelProperty(value = "权限维度id")
	@NotNull(message = "权限维度不能为空!")
	private Long scopeId=0L;

	@ApiModelProperty(value = "全部标记1是0否")
	@NotNull(message = "全部标记不能为空!")
	private Boolean allFlag;



}
